package ru.ifmo.network;

/**
 * @author avhaliullin
 */
public class HelloMessage {
    private final String hostAddress;
    private final String hostName;
    private final int hashCode;

    public HelloMessage(String hostAddress, String hostName, int hashCode) {
        this.hostAddress = hostAddress;
        this.hostName = hostName;
        this.hashCode = hashCode;
    }

    public String getHostAddress() {
        return hostAddress;
    }

    public String getHostName() {
        return hostName;
    }

    public int getHashCode() {
        return hashCode;
    }
}
